package ay.shadow.seckill.service;

import ay.shadow.seckill.entity.User;
import ay.shadow.seckill.entity.vo.LoginVo;
import ay.shadow.seckill.entity.vo.RespBean;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 暗影
 * @since 2025-02-27
 */
public interface IUserService extends IService<User> {

    RespBean doLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);

    User getUserByCookie(String userTicket, HttpServletRequest request, HttpServletResponse response);
}
